﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Worker
    {
        private string name;

        

        public string Name { get => name; set => name = value; }
        public Worker() { }
        public Worker(string name)
        {
            Name = name;
        }
        public void work()
        {
            Console.WriteLine("我{0}是个员工", this.name);
        }
    }
}
